package io.seata.samples.nacos.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.seata.samples.nacos.common.dto.OrderDTO;
import io.seata.samples.nacos.common.response.ObjectResponse;
import io.seata.samples.nacos.order.entity.TOrder;

/**
 * 创建订单
 *
 * @author Administrator
 */
public interface ITOrderService extends IService<TOrder> {
    /**
     * 创建订单
     *
     * @param orderDTO
     * @return io.seata.samples.nacos.common.response.ObjectResponse<io.seata.samples.nacos.common.dto.OrderDTO>
     */
    ObjectResponse<OrderDTO> createOrder(OrderDTO orderDTO);
}
